﻿/* Mostly CSS Only Tab/Accordion Functions originally from Vesa Piittinen 
    with tweaks by Jon Stocksdale

*/


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: url("../images/paper.jpg");
    overflow: hidden;
}
#header {
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: url("../images/portallogo.png") no-repeat;
    background-size:cover;
    z-index: 100;
    pointer-events: none;
}
#mainnav {
    position: absolute;
    display: inline;
    right: 0px;
    top:10px;
}
#mainnav li a {
    text-decoration:none;
}

#mainnav li {
    display: inline-block;
}

#footer {
    height: 25px;
    font-size: 2vw;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

#content {
    position: absolute;
    top: 90px;
    bottom: 25px;
    left: 0;
    right: 0;
    overflow: auto;
}


.tabs, .panels {
  font-size: 0;
  margin: 0 0;
}

.tabs:after, .panels:after {
  clear: both;
  content: '';
  display: table;
}

.tabs .tab,.panels .tab {
  display: inline;
}

.tabs  .tab-label,.panels .tab-label, #mainnav li {
  background: #eee; 
  border: 1px solid #ccc; 
  display: inline-block;
  font-size: 16px;
  font-size: 1.5vw;
  left: 1px;
  margin-left: -1px;
  padding: 10px; 
  position: relative;
  vertical-align: bottom;
}

.tabs .tab > [type="radio"],.panels .tab > [type="radio"] {
  clip: rect(0 0 0 0);
  height: 1px;
  opacity: 0;
  position: fixed;
  width: 1px;
  z-index: -1;
}

.tabs .tab-panel,.panels .tab-panel {
  display: inline;
  display: inline-block;
  overflow: hidden;
  position: relative;
  height: 0;
  width: 0;
}

.tabs .tab-content,.panels .tab-content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  background: white;
  float: left;
  font-size: 16px;
  font-size: 2vw;
  margin-top: -1px;
  width: 100%;
}

.tabs .tab [type="radio"]:checked + .tab-label,.panels .tab [type="radio"]:checked + .tab-label {
  background: white;
  border-bottom-width: 0;
  padding-bottom: 11px;
  z-index: 1;
}

.tabs .tab [type="radio"]:checked ~ .tab-panel,.panels .tab [type="radio"]:checked ~ .tab-panel {
  display: inline;
}
  .tabs .tab-label {
     border-top-left-radius: 10px;
     border-top-right-radius: 10px;
  }

/*

=======================================
INTERNET EXPLORER 8 and below 
=======================================

*/
@media \0screen\,screen\9 {
  /* IE7 and IE6 */
  .tabs,.panels {
    zoom: 1;
  }
  
  /* IE8 and below */
  .tabs .tab .tab-radio,.panels .tab .tab-radio {
    filter: Alpha(opacity=0);
    position: absolute;
    z-index: -1;
  }
  
  /* IE7 and IE6 */
  .tabs .tab .tab-panel ,.panels .tab .tab-panel {
    display: none;
    height: auto;
    overflow: visible;
    position: static;
    width: auto;
  }
  
  /* IE7 and IE6 */
 .tabs .tab-content,.panels .tab-content {
    float: none;
    padding-bottom: 1px;
    padding-top: 1px;
    width: auto;
  }
  
  /* IE8 and below */
 .tabs  .checked label,.panels .checked label {
    background: white;
    border-bottom-width: 0;
    padding-bottom: 11px;
    z-index: 1;
  }
  
  /* IE8 */
  .tabs  .checked .tab-panel,.panels .checked .tab-panel {
    display: inline;
  }
  /* IE7 and IE6 */
  .tabs .checked .tab-panel,.panels .checked .tab-panel {
    display: inline;
    float: left;
    width: 100%;
  }
}


/* .tabs are RESPONSIVE and become .panels: */
@media only screen and (max-width: 60em) {

    #header {
        height: 80px;
    }
    #content {
        top: 70px;
    }
}


@media only screen and (max-width: 43em) {

    .tabs .tab > label {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        font-size: 3.5vw;
    }
   .tabs .tab-label {
     border-top-left-radius: 0px;
     border-top-right-radius: 0px;
  }

}

@media only screen and (max-width: 30em) {

    #header {
        height: 50px;
    }
    #content {
        top: 40px;
    }
}

/* .panels are just ALWAYS panels: */
  .panels > .tab > label {

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
  }
  .panels > .tab [type="radio"]:checked + .tab-label {
    background:  #BBB;
    border-color: #444;
  }

.panels > .tab > .tab-label {
    border-top-left-radius: 0px;
    C: \Users\rvadmin\Source\Repos\rafikisis\RafikiSIS-Site\Content\MeyerReset.css border-top-right-radius: 0px;
}

 .tabs .tab [type="radio"]:checked + .tab-label {
        background: #BBB;
        border-color: #444;
    }

  .tab-label:hover {
        background: #BBB;
        border-color: #444;
}


